package com.shiro.dao;


import com.shiro.model.User;

import java.sql.Connection;
import java.util.Set;

/**
 * @author gaoxu
 * @date 2019-05-13 14:07
 * @description ... 类
 */
public interface UserDao {

    User getUserByUserName(Connection conn, String userName);

    Set<String> getRolesByUserName(Connection conn, String userName);

    Set<String> getPermissionsByUserName(Connection conn, String userName);
}
